package com.jzy.repository;

import com.jzy.entity.Vo.UserVo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<UserVo,Integer>, BaseRepository<UserVo,Integer> {
    //登录
    UserVo getByUsername(String username);
    //登录
    UserVo getByUsernameAndPassword(String username, String password);
}
